class Weibo < ActiveRecord::Base

  belongs_to :user

  has_many :comments

  def self.search(conditions, page, order)
    paginate :per_page => 10, :page => page,
             :conditions => conditions,
             :order => order
  end

end